package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
/**
 * 大攻略点赞和收藏描述类
 */
public class StrategySign extends BaseDomain {

    private Strategy strategy;//大攻略

    private Boolean greatStatus=false;//点赞状态
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date greatTime;//点赞时间

    private Boolean enshrineStatus=false;//收藏状态
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date enshrineTime;//收藏时间

    private User user;//当前用户




}